package io.github.maojian.trie;

/**
 * @Auther: jian.mao
 * @Date: 2022-07-11 11:10
 * @Description:
 * 676. 实现一个魔法字典
 * https://leetcode.cn/problems/implement-magic-dictionary/
 */
public class Q676 {

    private Q676[] children;
    private boolean isEnd;

    public Q676() {
        children = new Q676[26];
        isEnd = false;
    }

    public void buildDict(String[] dictionary) {
        Q676 node = this;
        for (int i = 0; i < dictionary.length; i++) {
            String curWord = dictionary[i];
            for (int j = 0; j < curWord.length(); j++) {
                char curChar = curWord.charAt(j);
                int index = curChar - 'a';

            }
        }
    }

    public boolean search(String searchWord) {
        return false;
    }
}
